package com.house.controller;

import com.house.common.utils.R;
import com.house.service.ThreepartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @ClassName ThreepartController
 * @Description TODO
 * @Author
 * @DATE 2022/4/23 9:05
 */
@RestController
@RequestMapping("/threepart/threepart")
public class ThreepartController {

    @Autowired
    private ThreepartService threepartService;

    @RequestMapping("sendSms")
    public R sendSms(@RequestParam Map<String,Object> map){
        return threepartService.sendSms(map);
    }

}
